#!/usr/bin/env bash

#colors

# check options

USER_HOME=/home/${username}

echo -e "Creating a local user and group ..."
groupadd -g "${user_gid}" "${username}"
useradd -d "${USER_HOME}" -s /bin/bash -G sudo -u "${user_id}" -g "${user_gid}" "${username}"

project_dir="/data"

echo -e "Custom settings"

exec /usr/bin/su - ${username} -s /bin/bash
